﻿using DevExpress.XtraBars.Localization;

namespace Com.OpenCode.Framework.DevForm
{
    /// <summary>
    ///     Bar汉化。
    /// </summary>
    public class CNBarLocalizer : BarLocalizer
    {
        public override string Language
        {
            get { return "简体中文"; }
        }

        public override string GetLocalizedString(BarString id)
        {
            switch (id)
            {
                case BarString.AddOrRemove:
                    break;
                case BarString.BarAllItems:
                    break;
                case BarString.BarUnassignedItems:
                    break;
                case BarString.CancelButton:
                    return "取消";
                case BarString.CloseButton:
                    return "关闭";
                case BarString.CollapseRibbonSuperTipHeader:
                    return "隐藏菜单（Ctrl+F1）";
                case BarString.CollapseRibbonSuperTipText:
                    return "仅显示菜单头名称";
                case BarString.ColorAuto:
                    break;
                case BarString.ColorPickBlueValidationMsg:
                    break;
                case BarString.ColorPickBrightValidationMsg:
                    break;
                case BarString.ColorPickBrightnessAxisName:
                    break;
                case BarString.ColorPickColorHexValidationMsg:
                    break;
                case BarString.ColorPickGreenValidationMsg:
                    break;
                case BarString.ColorPickHueAxisName:
                    break;
                case BarString.ColorPickHueValidationMsg:
                    break;
                case BarString.ColorPickLuminanceAxisName:
                    break;
                case BarString.ColorPickOpacityAxisName:
                    break;
                case BarString.ColorPickOpacityValidationMsg:
                    break;
                case BarString.ColorPickPopupMoreColorsItemCaption:
                    break;
                case BarString.ColorPickPopupRecentColorsGroupCaption:
                    break;
                case BarString.ColorPickPopupStandardColorsGroupCaption:
                    break;
                case BarString.ColorPickPopupThemeColorsGroupCaption:
                    break;
                case BarString.ColorPickRedValidationMsg:
                    break;
                case BarString.ColorPickSaturationAxisName:
                    break;
                case BarString.ColorPickSaturationValidationMsg:
                    break;
                case BarString.ColorTabWebSafeColors:
                    break;
                case BarString.CustomizeButton:
                    return "自定义...";
                case BarString.CustomizeQuickAccessToolbar:
                    return "自定义快速访问工具栏...";
                case BarString.CustomizeRibbon:
                    return "自定义功能区";
                case BarString.CustomizeToolbarSuperTipText:
                    return "自定义快速访问工具栏";
                case BarString.CustomizeToolbarText:
                    return "自定义工具条";
                case BarString.CustomizeWindowCaption:
                    return "自定义";
                case BarString.ExpandRibbonSuperTipHeader:
                    return "展开菜单（Ctrl+F1）";
                case BarString.ExpandRibbonSuperTipText:
                    return "显示菜单里面包含的所有子菜单";
                case BarString.HelpButton:
                    return "帮助";
                case BarString.MaximizeButton:
                    return "最大化";
                case BarString.MenuAnimationFade:
                    break;
                case BarString.MenuAnimationNone:
                    break;
                case BarString.MenuAnimationRandom:
                    break;
                case BarString.MenuAnimationSlide:
                    break;
                case BarString.MenuAnimationSystem:
                    break;
                case BarString.MenuAnimationUnfold:
                    break;
                case BarString.MinimizeButton:
                    return "最小化";
                case BarString.MoreCommands:
                    break;
                case BarString.NewMenuName:
                    break;
                case BarString.NewStatusBarName:
                    break;
                case BarString.NewToolbarCaption:
                    break;
                case BarString.NewToolbarCustomNameFormat:
                    break;
                case BarString.NewToolbarName:
                    break;
                case BarString.None:
                    break;
                case BarString.PopupMenuEditor:
                    break;
                case BarString.RenameToolbarCaption:
                    break;
                case BarString.ResetBar:
                    break;
                case BarString.ResetBarCaption:
                    return "自定义";
                case BarString.ResetButton:
                    return "重设工具栏";
                case BarString.RestoreButton:
                    return "向下还原";
                case BarString.RibbonAllPages:
                    break;
                case BarString.RibbonCaptionTextNone:
                    break;
                case BarString.RibbonCustomizationAddText:
                    break;
                case BarString.RibbonCustomizationDownText:
                    break;
                case BarString.RibbonCustomizationExportSettingsCommand:
                    break;
                case BarString.RibbonCustomizationImportSettingsCommand:
                    break;
                case BarString.RibbonCustomizationNewCategoryCommand:
                    break;
                case BarString.RibbonCustomizationNewCategoryDefaultAlias:
                    break;
                case BarString.RibbonCustomizationNewGroupCommand:
                    break;
                case BarString.RibbonCustomizationNewGroupDefaultAlias:
                    break;
                case BarString.RibbonCustomizationNewPageCommand:
                    break;
                case BarString.RibbonCustomizationNewTabDefaultAlias:
                    break;
                case BarString.RibbonCustomizationOptionAllCommands:
                    break;
                case BarString.RibbonCustomizationOptionAllTabs:
                    break;
                case BarString.RibbonCustomizationRemoveText:
                    break;
                case BarString.RibbonCustomizationRenameText:
                    break;
                case BarString.RibbonCustomizationResetSelectedTabSettingsCommand:
                    break;
                case BarString.RibbonCustomizationResetSettingsCommand:
                    break;
                case BarString.RibbonCustomizationStandardCustomItemSuffix:
                    break;
                case BarString.RibbonCustomizationUpText:
                    break;
                case BarString.RibbonGalleryFilter:
                    break;
                case BarString.RibbonGalleryFilterNone:
                    break;
                case BarString.RibbonToolbarAbove:
                    return "在功能区上方显示快速访问工具栏";
                case BarString.RibbonToolbarAdd:
                    return "添加到快速访问工具栏";
                case BarString.RibbonToolbarBelow:
                    return "在功能区下方显示快速访问工具栏";
                case BarString.RibbonToolbarMinimizeRibbon:
                    return "折叠功能区";
                case BarString.RibbonToolbarRemove:
                    return "从快速访问工具栏删除";
                case BarString.RibbonTouchMouseModeCommandText:
                    break;
                case BarString.RibbonTouchMouseModeGalleryGroupText:
                    break;
                case BarString.RibbonTouchMouseModeMouseItemDescription:
                    break;
                case BarString.RibbonTouchMouseModeMouseItemText:
                    break;
                case BarString.RibbonTouchMouseModeTouchItemDescription:
                    break;
                case BarString.RibbonTouchMouseModeTouchItemText:
                    break;
                case BarString.RibbonUnassignedPages:
                    break;
                case BarString.ShowScreenTipsOnToolbarsName:
                    break;
                case BarString.ShowShortcutKeysOnScreenTipsName:
                    break;
                case BarString.SkinCaptions:
                    break;
                case BarString.SkinsBonus:
                    break;
                case BarString.SkinsCustom:
                    break;
                case BarString.SkinsMain:
                    break;
                case BarString.SkinsOffice:
                    break;
                case BarString.SkinsTheme:
                    break;
                case BarString.ToolBarMenu:
                    break;
                case BarString.ToolbarNameCaption:
                    break;
            }
            return base.GetLocalizedString(id);
        }
    }
}